
#ifndef EXPORTTHREADDIALOG_H
#define EXPORTTHREADDIALOG_H

#include <QObject>
#include <QDialog>
#include "ui_exportthread.h"
#include "threadbuilderfactory.h"

class ExportThreadDialog : public QDialog
{
	Q_OBJECT
public:
	ExportThreadDialog(QWidget* parent = 0);
	virtual ~ExportThreadDialog();

	Wishmaster::ThreadBuilderPtr builder();

public slots:
	virtual void accept();
	void methodChanged(const QString& method);

private:
	Wishmaster::ThreadBuilderFactory m_factory;
	Wishmaster::ThreadBuilderPtr m_builder;
	QWidget* m_config;
	Ui::ExportThreadDialog* m_ui;
};

#endif

